package cn.tedu.pojo.es;

import cn.tedu.pojo.Item;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

public interface ItemRepository extends ElasticsearchRepository<Item,Long> {
    Page<Item> findByTitleOrSellPoint(String key, Pageable pageable);
}
